package com.xuz.service.impl;

import com.xuz.dao.CourseDao;
import com.xuz.service.CourseService;

/**
 * @user 65453
 * @date 2024/10/24 22:06
 */
public class CourseServiceImpl implements CourseService {
    private CourseDao courseDao;

    public void setCourseDao(CourseDao courseDao) {
        this.courseDao = courseDao;
    }

    public CourseServiceImpl() {
        System.out.println("CourseServiceImpl创建了........");
    }

    @Override
    public void add() {
        System.out.println("CourseServiceImpl执行了...........");
        courseDao.add();
    }
}
